package com.dycx.cms.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.dycx.common.dto.PageDTO;
import com.dycx.common.dto.VideoInfoDTO;
import com.dycx.common.dto.handler.VideoInfoTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ArticleDTO extends PageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;


    private Integer articleTypeId;

    /**
     * 文章标题
     */
    private String title;
    private String summary;
    private String thumbnail;
    private String video;
    private VideoInfoDTO videoInfo;

    private String content;

    private Boolean status;

    private String keywords;

    private String orderBy;

    private Integer parentId;

    private Integer uid;

    private List<Integer> ids;

}
